package com.cwt_taxi_xa.model;

import com.cwt_taxi_xa.util.DateUtil;

/**
 * 消息中心实体类
 * @author ferch
 *
 */
public class MessageCenter {

	/**
	 * 自动添加创建时间、是否已读
	 */
	public MessageCenter() {
		super();
		setCreatetime(DateUtil.getNowDate());
		setIsread(0);
	}
	private int id;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 创建时间
	 */
	private String createtime;

	/**
	 * TTS阅读 0 不是tts阅读消息 1 tts阅读消息
	 */

	/**
	 * 是否已读0未读，1已读
	 */
	private int isread;

	//	private int tts;

	//	private int flag;

	//	private int timeLength;

	//	private int serial;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public int getIsread() {
		return isread;
	}
	public void setIsread(int isread) {
		this.isread = isread;
	}
}
